toggle menu
Storyteller SDK Documentation
11.2.0-local-master-c0ea6738e
switch theme
search in API
Storyteller SDK Documentation
/
com.storyteller.remote.common.result
Package-level
declarations
Types
Functions
Types
Operation
Result
Link copied to clipboard
@
Serializable
sealed
class
OperationResult
<
out
T
>
Throwable
Serializer
Link copied to clipboard
object
ThrowableSerializer
:
KSerializer
<
Throwable
>
Functions
run
Catching
Link copied to clipboard
inline
fun
<
T
>
runCatching
(
block
:
(
)
->
T
)
:
OperationResult
<
T
>
run
Catching
Link copied to clipboard
inline
fun
<
T
,
R
>
T
.
runCatching
(
block
:
T
.
(
)
->
R
)
:
OperationResult
<
R
>